package com.healthmgmt.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthmgmt.common.annotation.Excel;
import com.healthmgmt.common.core.domain.BaseEntity;

/**
 * 回复对象 hm_consultation_reply
 * 
 * @author ruoyi
 * @date 2025-06-29
 */
public class ConsultationReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回复ID */
    private Long replyId;

    /** 咨询ID */
    @Excel(name = "咨询ID")
    private Long consultationId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 0用户1医生 */
    @Excel(name = "0用户1医生")
    private Integer type;

    public void setReplyId(Long replyId) 
    {
        this.replyId = replyId;
    }

    public Long getReplyId() 
    {
        return replyId;
    }

    public void setConsultationId(Long consultationId) 
    {
        this.consultationId = consultationId;
    }

    public Long getConsultationId() 
    {
        return consultationId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("replyId", getReplyId())
            .append("consultationId", getConsultationId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("type", getType())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
